From: Jan D. Date: Thu, 30 Jun 2011 15:07:40 +0000 (+0200) Subject: Fix bad include. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~3233 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=459aea6770db38b7f6c372843655b5aa44bdc351;p=emacs.git Fix bad include. * xsettings.c: Include glib-object.h, gio/gio.h if HAVE_GSETTINGS. --- diff --git a/src/ChangeLog b/src/ChangeLog index 71272980462..27d9ec12799 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,6 @@ 2011-06-30 Jan Djärv - * xsettings.c: Include glib.h if HAVE_GSETTINGS. + * xsettings.c: Include glib-object.h, gio/gio.h if HAVE_GSETTINGS. Let HAVE_GSETTINGS override HAVE_GCONF. (store_monospaced_changed): New function. (EMACS_SETTINGS): A new type derived from GObject to handle diff --git a/src/xsettings.c b/src/xsettings.c index 09a5d31d01f..5df05e3e50e 100644 --- a/src/xsettings.c +++ b/src/xsettings.c @@ -34,9 +34,9 @@ along with GNU Emacs. If not, see . */ #include -#define HAVE_GSETTINGS #ifdef HAVE_GSETTINGS -#include +#include +#include #else #ifdef HAVE_GCONF #include